package lovo01.lesson04;

import lovo01.lesson01.Plane;

import java.security.PrivateKey;

/**
 * 人类
 * 姓名：name
 * 等级：level
 */
public abstract class Role {
    private String name;
    private int level;

    public Role(){

    }
    public Role(String name, int level) {
        this.name = name;
        this.level = level;
    }

    abstract void selfIntroduce();

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public int getLevel() {

        return level;
    }

    public void setLevel(int level) {

        this.level = level;
    }
}
